package com.zzyl.mapper;

import com.zzyl.dto.NursingProjectPlanDto;
import com.zzyl.entity.NursingProjectPlan;
import com.zzyl.vo.NursingProjectPlanVo;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingProjectPlanMapper {
    /**
     * 添加护理计划项目
     * @param projectPlans
     */
    void addProjectPlan(List<NursingProjectPlanDto> projectPlans);

    /**
     *
     * @param id
     */
    List<NursingProjectPlanVo> getById(Long id);

    /**
     * 根据id删除
     * @param id
     */
    void deleteById(Long id);
}
